package com.g3.zoosite.service;

import com.g3.zoosite.model.DwAnimalNews;
import com.baomidou.mybatisplus.extension.service.IService;
import com.g3.zoosite.model.DwRareAnimal;

import java.util.List;

/**
 * <p>
 * 动物趣闻表 服务类
 * </p>
 *
 * @author admin
 * @since 2021-09-28
 */
public interface IDwAnimalNewsService extends IService<DwAnimalNews> {
    //查询所有动物趣闻
    List<DwAnimalNews> findAnimalNews();

    //通过id查询动物趣闻
    DwAnimalNews findAnimalNewsById(Integer id);
}
